package com.bootdo.IM.service;

import com.bootdo.IM.domain.EasemobToken;
import com.bootdo.IM.domain.EasemobUser;

import java.util.List;



public interface EasemobUserService {

	/**创建环信用户
	 * @param easemobUrl
	 * @param orgName
	 * @param appName
	 * @param userId
	 * @param password
	 * @return
	 */
	EasemobUser createEasemobUser(String easemobUrl, String orgName, String appName, String userId, String password);

	/**查询环信用户
	 * @param easemobUrl
	 * @param orgName
	 * @param appName
	 * @param userId
	 * @return
	 */
	boolean getEasemobUser(String easemobUrl, String orgName, String appName, String userId);

	/**查询环信token
	 * @param orgName
	 * @param appName
	 * @param clientId
	 * @param clientSecret
	 * @return
	 */
	EasemobToken queryEasemobToken(String easemobUrl, String orgName, String appName, String clientId, String clientSecret);
	
	
	/**查询用户好友信息
	 * @param easemobUrl
	 * @param orgName
	 * @param appName
	 * @param userId
	 * @return
	 */
	//List<String> queryFriendAndBlacklist(String easemobUrl, String orgName, String appName, String userId, String clientId, String clientSecret, String token);
}
